package com.parfinex.java.phase1.module2.task10;

/**
 * @Author: Li Jiahui
 * @Date: 2020/10/18 21:31
 * @Version 1.0
 */
public class DirectionTest {
    public static void main(String[] args) {
//        Direction d1 = new Direction("up");
//        System.out.println("获取到的字符串是："+d1.getDesc());
//        Direction d2 = new Direction("down");
//        System.out.println("获取到的字符串是："+d2.getDesc());
//        Direction d3 = new Direction("left");
//        System.out.println("获取到的字符串是："+d3.getDesc());
//        Direction d4 = new Direction("right");
//        System.out.println("获取到的字符串是："+d4.getDesc());
//
//        System.out.println("----------------");
//        Direction d5 = new Direction("rightandleft");
//        System.out.println("获取到的字符串是："+d5.getDesc());
//        Direction d1 = new Direction.UP;
//        System.out.println(d1.getDesc());
    }
}
